/*
* @Author: Marte
* @Date:   2017-07-26 14:19:22
* @Last Modified by:   Marte
* @Last Modified time: 2017-07-27 15:52:57
*/

$(function(){
    var mySwiper = new Swiper ('.swiper-container', {
    direction: 'horizontal',
   autoplay: 1000,
   loop: true,
    autoplayDisableOnInteraction:false,
      paginationClickable: true,
    // 如果需要分页器
    pagination: '.swiper-pagination',

  })


    $('.journey').on('click','li',function(){
         $(this).addClass('journer_fff').siblings().removeClass("journer_fff");
         var i=$(this).index();
         $('.dancheng').eq(i).show().siblings().hide()
    })

$('#feiji').click(function(){
   var left=$('.flight_left').html();
   var right=$('.flight_right').html();
   $('.flight_left').html(right);
   $('.flight_right').html(left);
})

// 返回跳转
$('.return').click(function(){
     window.history.go(-1);
})


$('.flight_left').click(function(){
    window.location.href="../html/regionlist.html";
})
$('.flight_right').click(function(){
    window.location.href="../html/regionlist.html";
})
})

